﻿function getCardType(code)
{
	switch(code)
	{
		case 1:
			document.write("身份证");
			break;
		case 2:
			document.write("学生证");
			break;
		case 3:
			document.write("护照");
			break;
		case 4:
			document.write("军官证");
			break;
		case 5:
			document.write("其他");
			break;
		default:
			document.write("未知");
	}
}

function getPayMode(code)
{
	switch(code)
	{
		case 1:
			document.write("网银在线支付");
			break;
		case 2:
			document.write("支付宝");
			break;
		case 3:
			document.write("银行汇款");
			break;
		case 4:
			document.write("网银手机充值卡支付");
			break;
		case 5:
			document.write("固定电话支付");
			break;
		case 6:
			document.write("易宝在线支付");
			break;
		case 7:
			document.write("代理商预付款");
			break;
		case 8:
			document.write("易宝手机充值卡支付");
			break;
		case 9:
			document.write("骏网一卡通");
			break;
		case 10:
			document.write("盛大游戏点卡");
			break;
		case 11:
			document.write("征途游戏点卡");
			break;
		case 12:
			document.write("Q币卡");
			break;
		case 13:
			document.write("591Fu");
			break;
		case 15:
			document.write("财付通支付");
			break;
		default:
			document.write("未知");
	}
}

function getOrderStatus(code)
{
	switch(code)
	{
		case 1:
			document.write("未开通");
			break;
		case 2:
			document.write("<font color=green>已开通</font>");
			break;
		case -1:
			document.write("<font color=#333333>无效</font>");
			break;
		default:
			document.write("未知");
	}
}

function getPayStatus(code)
{
	switch(code)
	{
		case 1:
			document.write("未支付");
			break;
		case 2:
			document.write("<font color=green>已支付</font>");
			break;
		default:
			document.write("未知");
	}
}

function getOrderType(code)
{
	switch(code)
	{
		case 1:
			document.write("充值卡充值");
			break;
		case 2:
			document.write("现金充值");
			break;
		case 3:
			document.write("手机充值卡充值");
			break;
		case 4:
			document.write("固话充值");
			break;
		case 5:
			document.write("骏网一卡通充值");
			break;
		case 6:
			document.write("盛大游戏点卡充值");
			break;
		case 7:
			document.write("征途游戏点卡充值");
			break;
		case 8:
			document.write("Q币卡");
			break;
		default:
			document.write("未知");
	}
}
function getGIDOrderType(code)
{
	switch(code)
	{
		case 1: 
			document.write("靓号");
			break;
		case 2:
			document.write("普通号");
			break; 
		default:
			document.write("未知");
	}
}

function getGoodsOrderType(code)
{
	switch(code)
	{
		case 1: 
			document.write("物品订单--红色VIP");
			break;
		default:
			document.write("未知");
	}
}

function getBankName(code)
{
	switch(code)
	{
		case 1:
			document.write("工商银行");
			break;
		case 2:
			document.write("建设银行");
			break;
		case 3:
			document.write("农业银行");
			break;
		case 4:
			document.write("交通银行");
			break;
		case 5:
			document.write("招商银行");
			break;
		default:
			document.write("未知");	
	}
}